<!doctype html>
<html lang="zh">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="author" content="504 Team">

    <link rel="icon" href="img/chess-piece-icon.png" type="image/x-icon">
    <title>登录 · 五子棋</title>

    <!-- Import Bootstrap v4.6.0 -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link href="css/login.css" rel="stylesheet">

    <!-- Import custom style -->
    <link href="css/general.css" rel="stylesheet">
  </head>
  <body>
    <div class="container-fluid">
      <div class="row justify-content-center">
        <div class="col-md-4">
          <div class="text-center pt-5">
            <img src="img/login_img.png" class="img-fluid">
          </div>
        </div>
        <div class="col-md-4">
          <div class="form-signin border rounded-lg shadow-sm">
            <div class="text-center mb-4 mt-3">
              <img class="mb-4" src="img/chess-piece.png" alt="" width="72" height="72">
              <h1 class="h4 font-weight-normal">登录 · 五子棋</h1>
            </div>
      
            <div id="account" class="form-label-group mx-3">
              <input type="text" id="inputID" class="form-control" placeholder=" " onfocus="focusInput()">
              <label for="ID">账号</label>
              <div class="invalid-feedback" id="account-msg"></div>
            </div>
      
            <div id="password" class="form-label-group mx-3">
              <input type="password" id="inputPassword" class="form-control" placeholder=" " onfocus="focusInput()">
              <label for="inputPassword">密码</label>
              <div class="invalid-feedback" id="password-msg"></div>
            </div>
      
            <div class="container-fluid mb-3 mt-5">
              <div class="row justify-content-center">
                <div class="text-center col-4">
                  <button class="btn btn-primary btn-block" type="button" id="login-btn">登 录</button>
                </div>
                <div class="text-center col-4">
                  <a class="btn btn-primary btn-block" href="register.html" role="button">注 册</a>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="row mt-4">
        <div class="col">
          <p class="mt-5 mb-3 text-muted text-center">504 Team &copy; 2021</p>
        </div>
      </div>
    </div>
    <script src="https://code.jquery.com/jquery-3.6.0.js" integrity="sha256-H+K7U5CnXl1h5ywQfKtSj8PCmoN9aaq30gDh27Xc0jk=" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js"></script>
    <script src="js/cookie.js"></script>
    <script src="js/login.js"></script>
</body>
</html>
